package com.hecn.demo01;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/** @author 24497 */
@NoArgsConstructor
@AllArgsConstructor
public class Proxy implements Rent {
  private Host host;

  public void rent() {
    host.rent();
  }

  // 看房
  public void seeHouse() {
    System.out.println("带你看房");
  }

  // 收取中介费用
  public void fare() {
    System.out.println("收取中介费");
  }

  // 合同
  public void hetong() {
    System.out.println("合同");
  }
}
